package org.flower.entity;

import org.flower.utils.MyStringUtil;

import java.util.Date;
import java.util.List;

/**
 * 统计功能数据传输类
 */
public class Statistics {

    //最近一周时间_MM-dd
    private List<String> dayDateTime = MyStringUtil.dayDateTime();

    private int addUser;//日新增用户
    private int sumUser;//总用户量
    private List<Integer> zhouUser;//用户周数据


    private int addOder;//新增订单
    private int sumOder;//总订单量
    private List<Integer> zhouOder;//订单周数据

    private int addGoods;//新增商品
    private int sumGoods;//总商品数
    private List<Integer> zhouGoods;//订单周数据


    private int addAdminUser;//新增管理员
    private int sumAdminUser;//总管理员
    private List<Integer> zhouAdminUser;//订单周数据


    public List<Integer> getZhouGoods() {
        return zhouGoods;
    }

    public void setZhouGoods(List<Integer> zhouGoods) {
        this.zhouGoods = zhouGoods;
    }

    public List<Integer> getZhouAdminUser() {
        return zhouAdminUser;
    }

    public void setZhouAdminUser(List<Integer> zhouAdminUser) {
        this.zhouAdminUser = zhouAdminUser;
    }

    public List<Integer> getZhouOder() {
        return zhouOder;
    }

    public void setZhouOder(List<Integer> zhouOder) {
        this.zhouOder = zhouOder;
    }

    public List<String> getDayDateTime() {
        return dayDateTime;
    }

    public void setDayDateTime(List<String> dayDateTime) {
        this.dayDateTime = dayDateTime;
    }

    public List<Integer> getZhouUser() {
        return zhouUser;
    }


    public void setZhouUser(List<Integer> zhouUser) {
        this.zhouUser = zhouUser;
    }

    @Override
    public String toString() {
        return "Statistics{" +
                "addUser=" + addUser +
                ", addOder=" + addOder +
                ", addGoods=" + addGoods +
                ", addAdminUser=" + addAdminUser +
                ", sumUser=" + sumUser +
                ", sumOder=" + sumOder +
                ", sumGoods=" + sumGoods +
                ", sumAdminUser=" + sumAdminUser +
                '}';
    }

    public Statistics() {
    }

    public Statistics(int addUser, int addOder, int addGoods, int addAdminUser, int sumUser, int sumOder, int sumGoods, int sumAdminUser) {
        this.addUser = addUser;
        this.addOder = addOder;
        this.addGoods = addGoods;
        this.addAdminUser = addAdminUser;
        this.sumUser = sumUser;
        this.sumOder = sumOder;
        this.sumGoods = sumGoods;
        this.sumAdminUser = sumAdminUser;
    }

    public int getAddUser() {
        return addUser;
    }

    public void setAddUser(int addUser) {
        this.addUser = addUser;
    }

    public int getAddOder() {
        return addOder;
    }

    public void setAddOder(int addOder) {
        this.addOder = addOder;
    }

    public int getAddGoods() {
        return addGoods;
    }

    public void setAddGoods(int addGoods) {
        this.addGoods = addGoods;
    }

    public int getAddAdminUser() {
        return addAdminUser;
    }

    public void setAddAdminUser(int addAdminUser) {
        this.addAdminUser = addAdminUser;
    }

    public int getSumUser() {
        return sumUser;
    }

    public void setSumUser(int sumUser) {
        this.sumUser = sumUser;
    }

    public int getSumOder() {
        return sumOder;
    }

    public void setSumOder(int sumOder) {
        this.sumOder = sumOder;
    }

    public int getSumGoods() {
        return sumGoods;
    }

    public void setSumGoods(int sumGoods) {
        this.sumGoods = sumGoods;
    }

    public int getSumAdminUser() {
        return sumAdminUser;
    }

    public void setSumAdminUser(int sumAdminUser) {
        this.sumAdminUser = sumAdminUser;
    }
}
